package db

import (
	"go.mongodb.org/mongo-driver/mongo"
)

const DbName = "cargo_v2"

type MgoStore struct {
	Client *mongo.Client
}

// NewMgoStore 创建mgo store
func NewMgoStore(client *mongo.Client) *MgoStore {
	store := &MgoStore{Client: client}

	return store
}
